//
//  DDCloudManager.h
//  PrivateCloud
//
//  Created by sarah doo on 13-9-26.
//  Copyright (c) 2013年 sarah doo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DDDealFileCallback.h"
#import "DDCloudInfo.h"
//#import "DDConnectCallback.h"
#import "DDDealFileCallback.h"
#import "DDVerifyThread.h"
#import "DDTCPListenThread.h"

@interface DDCloudManager : NSObject{
    id dealFileDelegate;
}

@property (nonatomic,retain)id dealFileDelegate;

@property (nonatomic,retain)DDVerifyThread* sendThread;

@property (nonatomic,retain)DDTCPListenThread* recvThread;

//- (id)init;
//下载指定的文件
-(void)downloadFiles:(NSArray *)files;

//上传制定的文件
-(void)uploadFiles:(NSArray *)files;

+(DDCloudManager* )getCloudManager;

//- (NSArray *)seachAll;
//
//- (void)uploadAllContacts;

//- (void)uploadFile:(NSArray *)files callBack:(DDDealFileCallback *)callBack;
//
//- (void)downloadFile:(NSArray *)files callBack:(DDDealFileCallback *)callBack;
//
//- (void)reportFileList:(NSArray *)fileList;
//
//- (void)cancelUploadFile:(NSString *)type;
//
//- (void)downAddressBook:(DDDealFileCallback *)callBack;

//@property (nonatomic, assign)DDConnectCallback *delegate;

@end
